package com.biqee.service.db.impl;

import com.biqee.dao.BqUserTbDAO;
import com.biqee.model.db.BqUserTb;
import com.biqee.service.db.BqUserTbService;

public class BqUserTbServiceImpl implements BqUserTbService {
	
	@Override
	public BqUserTb readByTbId(Long tbId) {
		return bqUserTbDAO.readByTbId(tbId);
	}


	@Override
	public BqUserTb readById(Long id) {
		return bqUserTbDAO.readById(id);
	}

	@Override
	public Long create(BqUserTb bqUserTb) {
		return bqUserTbDAO.create(bqUserTb);
	}

	@Override
	public int updateSessionKey(Long id, String sessionKey) {
		return bqUserTbDAO.updateSessionKey(id, sessionKey);
	}

	private BqUserTbDAO bqUserTbDAO;

	public BqUserTbDAO getBqUserTbDAO() {
		return bqUserTbDAO;
	}

	public void setBqUserTbDAO(BqUserTbDAO bqUserTbDAO) {
		this.bqUserTbDAO = bqUserTbDAO;
	}
	
	
}
